/**
 * Notification 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/notification/style';

export const notificationThemeConfig: Partial<ComponentToken> = {
  zIndexPopup: 1050,
  width: 384,
};

export const getNotificationTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...notificationThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as NotificationComponentToken } from 'antd/es/notification/style';

